package com.bdzl.pub.entity.loan;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;



/**
 * 电子合同签署记录表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:23:42
 */
@Data
public class ContractOnlineSignrecDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//自增，主键
	private Integer cosId;
	//合同 ID，外键
	private Long cosConId;
	//签署人
	private String cosSigner;
	//签署时间
	private Date cosSignTime;
	//签署方式
/*Autograph：签名；
Seal：盖章*/
	private String cosSignWay;
	//签署的内容
	private String cosSignInfo;
	//创建人，外键
	private Integer cosCreuser;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date cosCretime;
	//订单号
	private String cosOdr;
	//交易号
	private Long cosTransaction;
	//签署状态0:代签署 1：已签署
	private int cosState;
}
